package fr.upmc.aladyn.exemples;

public class ObjetTransSuper {
	
	private int valueSuper;
	
	public ObjetTransSuper(int valueSuper) {
		this.valueSuper = valueSuper;
	}
	
	public int getValueSuper(){
		return this.valueSuper;
	}
	
	public void setValueSuper(int newValue){
		this.valueSuper = newValue;
	}
	
	@Override
	public boolean equals(Object obj) {
		if(obj instanceof ObjetTrans) {
			ObjetTransSuper o = (ObjetTransSuper) obj;
			if(this.valueSuper == o.valueSuper) {
				return true;
			}
		}
		return false;
	}
}
